import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    // 视频
    Video:{},
    // 小视频
    Smallvideo:{},
    // 视频详细
    Rvideo:{},
  },
  mutations: {
    VideoObj(state,Obj){
      state.Video = Obj
    },
    SmallvideoObj(state,Obj){
      state.Smallvideo = Obj
    },
    RvideoObj(state,Obj){
      state.Rvideo = Obj
    }
  },
  actions: {
  },
  modules: {
  }
})
